/**
 * Created by 小虎Oni on 2016/9/29.
 * update on 2016/10/9
 */
var AppDispatcher = require('../utils/AppDisaptcher');
var config = require('../config');
var isDebug = config.isDebug;
function loginAction(data){
    isDebug && console.log('[ZBActionCreators] loginAction');
    var action = {
        type:'APP_LOGIN_ACTION',
        data:data
    }
    AppDispatcher.dispatch(action);
}

module.exports = {
    loginAction:loginAction
};